import axios from '@/common/request.js';

//支付跳转
export const payIndex = payload => axios({
	url: `/pay/index`,
	method: 'post',
	payload
})

//获取支付的请求参数
export const prepay = payload => axios({
	url: `/pay/prepay`,
	method: 'post',
	payload
})

//查询订单状态
export const payQuery = payload => axios({
	url: `/pay/query`,
	method: 'post',
	payload
})

//订单退款请求
export const payRefund = payload => axios({
	url: `/pay/refund`,
	method: 'post',
	payload
})
//获取银行
export const bankList = payload => axios({
	url:`/dictData/selectDictDataByType/bank_list`,
	method:'get',
	payload
})